import { Module } from '@nestjs/common';
import { BlogsService } from './blogs.service';
import { BlogsController } from './blogs.controller';
import {TypeOrmModule} from "@nestjs/typeorm";
import {BlogEntity} from "./entities/blog.entity";
import {BlogTagsEntity} from "./entities/blogTags.entity";
import {BlogTagEntity} from "./entities/blog-tag.entity";
import {DiscussEntity} from "../discuss/entities/discuss.entity";

@Module({
  imports:[
    TypeOrmModule.forFeature([BlogEntity,BlogTagsEntity,BlogTagEntity,DiscussEntity])
  ],
  controllers: [BlogsController],
  providers: [BlogsService]
})
export class BlogsModule {}
